#ifndef _LT_GUI_HELPER_H_
#define _LT_GUI_HELPER_H_

#include "MyGUI/MyGUI.h"
#include "ltSingleton.h"
#include "fastsig/fastsig.hpp"

namespace Lotus
{
	class GUIHelper:Utilities::Singleton<GUIHelper>,public fastsig::trackable
	{
	public:
		GUIHelper();
		~GUIHelper();
		LT_DECLARE_SINGLETON(GUIHelper);

		MyGUI::Gui* getGui() const;

	private:
		void frameStarted(const Ogre::FrameEvent& evt);
		void mouseMoved( const OIS::MouseEvent &arg );
		void mousePressed( const OIS::MouseEvent &arg, OIS::MouseButtonID id );
		void mouseReleased( const OIS::MouseEvent &arg, OIS::MouseButtonID id );
		void keyPressed( const OIS::KeyEvent &arg );
		void keyReleased( const OIS::KeyEvent &arg );

		MyGUI::Gui* gui;
	};
}

#endif